package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 产品库存联表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "goods_store")
public class GoodsStore implements Serializable {
    /**
     * 产品库存表id
     */
    @TableId(value = "goods_store_no", type = IdType.INPUT)
    private Integer goodsStoreNo;

    /**
     * 产品从表id
     */
    @TableField(value = "goods_spec_id")
    private Integer goodsSpecId;

    /**
     * 仓库id
     */
    @TableField(value = "store_id")
    private Integer storeId;

    /**
     * 仓库数量
     */
    @TableField(value = "goods_store_sum")
    private Double goodsStoreSum;

    /**
     * 实际可用数量
     */
    @TableField(value = "goods_store_dosum")
    private Double goodsStoreDosum;

    private static final long serialVersionUID = 1L;
}